//
//  Entity.m
//  OrderSeat
//
//  Created by 王威 on 13-11-19.
//  Copyright (c) 2013年 wangwei. All rights reserved.
//

#import "Entity.h"

@implementation Entity

- (NSString*)stringForKey:(NSString*)key
{
    return [self objectForKey:key];
}

- (int)integerForKey:(NSString*)key
{
    return [[self objectForKey:key] intValue];
}

- (BOOL)boolForKey:(NSString*)key
{
    return (BOOL)[self objectForKey:key];
}

- (CGFloat)floatForKey:(NSString*)key
{
    return [[self objectForKey:key] floatValue];
}

@end
